<template>
  <div class="content">
    <Switch v-model="myswitch" @change="switchChange" />
  </div>
</template>

<script setup lang="ts">
const myswitch = ref(false)

const switchChange = (val: boolean) => {
  console.log(val)
}
</script>

<style scoped lang="scss">
.content > * {
  margin-bottom: 10px;
}
</style>
